# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-ovos-tts-plugin-mimic3-server
pkgver=0.0.2a4
pkgrel=0
pkgdesc="OVOS Server TTS plugin for Mimic3"
url="https://github.com/OpenVoiceOS/ovos-tts-plugin-mimic3-server"
arch="noarch"
license="Apache-2.0"
depends="
	py3-ovos-plugin-manager
	py3-ovos-utils
	py3-requests
	"
makedepends="
	py3-gpep517
	py3-setuptools
	py3-wheel
	"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVoiceOS/ovos-tts-plugin-mimic3-server/archive/refs/tags/V$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/ovos-tts-plugin-mimic3-server-$pkgver"

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" \
		.dist/*.whl
}

sha512sums="
d6f3b3606f438c1b9b438e1b252bf2e61de751cf8d39192554c2cbfa6d77672d718e54746d2d04265045a084cb0a7718623e78cae07cd0b93492e1c80aaac3c7  py3-ovos-tts-plugin-mimic3-server-0.0.2a4.tar.gz
"
